package com.nuoniu.sibanyun.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.nuoniu.sibanyun.entity.SysRoleDataScope;
import com.nuoniu.sibanyun.entity.bo.SysUserDataScopeBo;
import com.nuoniu.sibanyun.mapper.SysRoleDataScopeMapper;
import com.nuoniu.sibanyun.service.ISysRoleDataScopeService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 角色数据权限表 服务实现类
 * </p>
 *
 * @author baiqiang
 * @since 2020-05-25
 */
@Service
public class SysRoleDataScopeServiceImpl extends ServiceImpl<SysRoleDataScopeMapper, SysRoleDataScope> implements ISysRoleDataScopeService {

    @Override
    public List<SysUserDataScopeBo> getSysUserDataScopeBoByRoleIds(String roleIds) {
        return baseMapper.getSysUserDataScopeBoByRoleIds(roleIds);
    }
}
